package com.letao.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BatchOrderDTO {
    private String orderImage;
    private Integer commentState;
    private String userName;
    private String provinceName;
    private String cityName;
    private String districtName;
    private Long id;
    private String orderNumber;
    private Long userId;
    private String shopName;
    private String addresseeName;
    private String addresseePhoneNumber;
    private Integer addresseeSex;
    private Integer province;
    private Integer city;
    private Integer district;
    private String detail;
    private Integer paymentMethod;
    private Double orderMoney;
    private Integer orderStatus;
    private Integer deliveryMethod;
    private String trackingNumber;
    private Long shopId;
    private String stringOrderStatus;
    private String stringPaymentMethod;
    private String stringDeliveryMethod;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deliveryTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime receiptTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifiedTime;
    private Integer isSeckill;
}
